Kanzi 4.0.0-beta2
kanzi::gfx::RasterStateCreateInfo Struct Reference

Creation information for a raster state. More...

#include <kanzi/gfx/create_info.hpp>

Inheritance diagram for kanzi::gfx::RasterStateCreateInfo:
[legend]

Public Types

using HandleType
 Raster state handle.
 

Public Attributes

CullMode cullMode
 The raster cull mode.
 
float depthBiasConstantFactor
 A scalar factor that controls the constant depth value to add to each fragment.
 
float depthBiasSlopeFactor
 A scalar factor to apply to the slope of a fragment in depth bias calculations.
 
FillMode fillMode
 The raster fill mode.
 
FrontFaceOrientation frontFace
 The orientation that determines a front face.
 
PrimitiveTopology primitiveTopology
 The primitive topology.
 
- Public Attributes inherited from kanzi::gfx::BaseCreateInfo
string_view name
 The name of the graphics object, useful for debugging.
 

Detailed Description

Creation information for a raster state.

Since
Kanzi 4.0.0

Member Typedef Documentation

◆ HandleType

Member Data Documentation

◆ fillMode

FillMode kanzi::gfx::RasterStateCreateInfo::fillMode

The raster fill mode.

◆ cullMode

CullMode kanzi::gfx::RasterStateCreateInfo::cullMode

The raster cull mode.

◆ frontFace

FrontFaceOrientation kanzi::gfx::RasterStateCreateInfo::frontFace

The orientation that determines a front face.

◆ primitiveTopology

PrimitiveTopology kanzi::gfx::RasterStateCreateInfo::primitiveTopology

The primitive topology.

◆ depthBiasConstantFactor

float kanzi::gfx::RasterStateCreateInfo::depthBiasConstantFactor

A scalar factor that controls the constant depth value to add to each fragment.

◆ depthBiasSlopeFactor

float kanzi::gfx::RasterStateCreateInfo::depthBiasSlopeFactor

A scalar factor to apply to the slope of a fragment in depth bias calculations.


The documentation for this struct was generated from the following file: